import request from '@/utils/request'

// 查询ZxCustom列表
export function listZxCustom(query) {
  return request({
    url: '/api/v1/zxcustomList',
    method: 'get',
    params: query
  })
}

// 查询ZxCustom详细
export function getZxCustom(id) {
  return request({
    url: '/api/v1/zxcustom/' + id,
    method: 'get'
  })
}

// 新增ZxCustom
export function addZxCustom(data) {
  return request({
    url: '/api/v1/zxcustom',
    method: 'post',
    data: data
  })
}

// 修改ZxCustom
export function updateZxCustom(data) {
  return request({
    url: '/api/v1/zxcustom',
    method: 'put',
    data: data
  })
}

// 删除ZxCustom
export function delZxCustom(id) {
  return request({
    url: '/api/v1/zxcustom/' + id,
    method: 'delete'
  })
}
